package com.kakarote.hrm.mapper;

import com.kakarote.core.entity.BasePage;
import com.kakarote.core.servlet.BaseMapper;
import com.kakarote.hrm.entity.BO.QueryEmployeeDataBo;
import com.kakarote.hrm.entity.PO.HrmEmployeeDataChangeRecord;
import com.kakarote.hrm.entity.VO.DeptEmployeeDataTotalVO;
import com.kakarote.hrm.entity.VO.EmployeeChangeRecordVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 员工、部门修改记录表 Mapper 接口
 * </p>
 *
 * @author guomenghao
 * @since 2021-04-14
 */
public interface HrmEmployeeDataChangeRecordMapper extends BaseMapper<HrmEmployeeDataChangeRecord> {

    List<DeptEmployeeDataTotalVO> queryDeptChangeNumberTotal(@Param("firstDay") LocalDate firstDay, @Param("lastDay") LocalDate lastDay);

    BasePage<EmployeeChangeRecordVo> queryPageList(BasePage<Object> parse, @Param("data") QueryEmployeeDataBo queryEmployeeDataBo);
}
